package com.twu.biblioteca;

public class Movie {

    private String movieName;
    private String year;
    private String director;
    private String rating;
    private int movieID;

    public Movie(int movieID, String movieName, String year, String director, String rating) {
        this.movieName = movieName;
        this.year = year;
        this.director = director;
        this.rating = rating;
        this.movieID = movieID;
    }

    public int getMovieID() {
        return movieID;
    }

    public String getMovieName() {
        return movieName;
    }

    public String getYear() {
        return year;
    }

    public String getDirector() {
        return director;
    }

    public String getRating() {
        return rating;
    }

    @Override
    public String toString() {

        return movieName + " | " + year + " | " + director + " | " + rating;
    }
}
